package com.uy.system.response;

/**
 * @Author LY
 * @create 2024/3/22 18:14
 * @Description 响应消息构建类
 */
public class ResponseMessageBuilder {

    public static <T> ResponseMessage<T> build(Integer code, T body){
        return new ResponseMessage<T>(code, body);
    }

    public static <T> ResponseMessage<T> build(Integer code){
        return new ResponseMessage<T>(code);
    }

}
